package com.ynet.middleground.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 冷链信息表历史表
 * </p>
 *
 * @author Songyf
 * @since 2020-08-03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ur_coldchain_history")
public class ColdchainHistory extends Model<ColdchainHistory>{

	private static final long serialVersionUID = 1234150206338675243L;

	/**
     * id,与企业历史信息表id关联
     */
    private Integer id;

    /**
     * 冷链客户号
     */
    private String coldchainUserCode;

    /**
     * 冷链客户名称
     */
    private String coldchainUserName;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 创建时间
     */
    private LocalDateTime gmtCreate;

    /**
     * 创建人
     */
    private Integer createBy;

    /**
     * 修改时间
     */
    private LocalDateTime gmtModified;

    /**
     * 修改人
     */
    private Integer modifiedBy;
    
    /**
     * 渠道
     */
    private String channel;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
